﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="SerachCommandsHis.aspx.cs" Inherits="Storage_SerachCommandsHis" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>正贸仓储物流管理系统</title>
    <link href="../css/css.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
        .find td {
            border-bottom: 1px solid #b5d6e6;
            border-right: 1px solid #b5d6e6;
            border-left: 1px solid #b5d6e6;
        }
    </style>
    <script src="../js/WdatePicker.js"></script>
</head>
<body>
    <form id="form1" runat="server">
        <div>
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                <tr>
                    <td style="height: 30px">
                        <table width="100%" border="0" cellspacing="0" cellpadding="0">
                            <tr>
                                <td style="background-image: url(../images/tab_03.gif); background-repeat: repeat-x; width: 12px;">&nbsp;
                                </td>
                                <td style="background-image: url(../images/tab_05.gif); background-repeat: repeat-x; height: 30px;">
                                    <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                        <tr>
                                            <td style="width: 46%; vertical-align: middle;">
                                                <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                                    <tr>
                                                        <td style="width: 5%; vertical-align: middle;">
                                                            <img src="../images/tb.gif" width="16" height="16" />
                                                        </td>
                                                        <td style="width: 95%;">
                                                            <span>你当前的位置</span>：业务管理-历史指令查询
                                                        </td>
                                                    </tr>
                                                </table>
                                            </td>
                                            <td width="54%"></td>
                                        </tr>
                                    </table>
                                </td>
                                <td width="16" style="background-image: url(../images/tab_07.gif); height: 30px;">&nbsp;
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
                <tr>
                    <td>
                        <table width="100%" border="0" cellspacing="0" cellpadding="0">
                            <tr>
                                <td style="background-image: url(../images/tab_12.gif); width: 8px;">&nbsp;
                                </td>
                                <td style="padding: 2px;">
                                    <table width="100%" border="0" cellspacing="0" cellpadding="0" style="border: 1px solid #b5d6e6;">
                                        <tr>
                                            <td style="padding: 2px;">
                                                <table width="100%" cellspacing="0" cellpadding="0" style="border-bottom:1px solid #b5d6e6;" >
                                                    <tr style="height: 22px;">

                                                        <td style="width: 50px;">任务号：
                                                        </td>
                                                        <td style="width: 60px;">
                                                            <asp:TextBox ID="txtTaskID" runat="server" Style="width: 60px; height: 14px; border: solid 1px #b5d6e6; font-size: 9pt;"></asp:TextBox>
                                                        </td>

                                                        <td style="width: 50px;">托盘号：
                                                        </td>
                                                        <td style="width: 120px;">
                                                            <asp:TextBox ID="txtTrayID" runat="server" Style="width: 120px; height: 14px; border: solid 1px #b5d6e6; font-size: 9pt;"></asp:TextBox>
                                                        </td>

                                                        <td style="width: 50px;">物料码：
                                                        </td>
                                                        <td style="width: 120px;">
                                                            <asp:TextBox ID="txtMatCode" runat="server" Style="width: 120px; height: 14px; border: solid 1px #b5d6e6; font-size: 9pt;"></asp:TextBox>
                                                        </td>

                                                        <td style="width: 60px;">物料名称：
                                                        </td>
                                                        <td style="width: 120px;">
                                                            <asp:TextBox ID="txtMatName" runat="server" Style="width: 120px; height: 14px; border: solid 1px #b5d6e6; font-size: 9pt;"></asp:TextBox>
                                                        </td>


                                                        <td style="width: 60px;">开始时间：
                                                        </td>
                                                        <td style="width: 120px;">
                                                            <asp:TextBox ID="txtBTime" runat="server" Style="width: 130px; height: 14px; border: solid 1px #b5d6e6; font-size: 9pt;"
                                                                onfocus="new WdatePicker(this)"></asp:TextBox>
                                                        </td>
                                                        <td style="width: 60px; padding-top: 1px; padding-left: 2px;">结束时间：
                                                        </td>
                                                        <td style="width: 120px;">
                                                            <asp:TextBox ID="txtETime" runat="server" Style="width: 130px; height: 14px; border: solid 1px #b5d6e6; font-size: 9pt;"
                                                                onfocus="new WdatePicker(this)"></asp:TextBox>
                                                        </td>



                                                        <td align="center">
                                                            <asp:ImageButton ImageUrl="../images/btn/btn_Search.gif" Width="63" ID="ibtnSearch"
                                                                runat="server" OnClick="ibtnSearch_Click" />
                                                        </td>
                                                    </tr>
                                                </table>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td style="padding: 2px;">
                                                <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                                    <tr>
                                                        <td align="center">
                                                            <table cellpadding="0" cellspacing="0" border="0" width="99%">
                                                                <tr>
                                                                    <td>
                                                                        <div style="margin-left: 0px; margin-top: 3px; width: 100%; height: 500px; overflow-x: auto; overflow-y: auto;">
                                                                            <asp:GridView ID="gv" runat="server" AutoGenerateColumns="False" Width="100%" BorderWidth="1px"
                                                                                BorderColor="#B5D6E6" CellPadding="0" AllowPaging="true" PageSize="35"
                                                                                OnPageIndexChanging="gv_PageIndexChanging">
                                                                                <Columns>
                                                                                    <asp:TemplateField HeaderText="编号">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="labCodeType" runat="server" Text="<%#Container.DataItemIndex+1%>"></asp:Label>
                                                                                        </ItemTemplate>
                                                                                        <ItemStyle Width="4%" />
                                                                                    </asp:TemplateField>
                                                                                    <asp:BoundField DataField="TaskID" HeaderText="任务号">
                                                                                        <ItemStyle Width="5%" />
                                                                                    </asp:BoundField>

                                                                                    <asp:BoundField DataField="TaskMode" HeaderText="任务类型">
                                                                                        <ItemStyle Width="6%" />
                                                                                    </asp:BoundField>

                                                                                    <asp:BoundField DataField="Tray_ID" HeaderText="托盘号">
                                                                                        <ItemStyle Width="8%" />
                                                                                    </asp:BoundField>

                                                                                    <asp:BoundField DataField="PosS_ID" HeaderText="开始货位">
                                                                                        <ItemStyle Width="8%" />
                                                                                    </asp:BoundField>
                                                                                    <asp:BoundField DataField="PosE_ID" HeaderText="目标货位">
                                                                                        <ItemStyle Width="8%" />
                                                                                    </asp:BoundField>
                                                                                    <asp:BoundField DataField="EquipmentS_ID" HeaderText="开始设备">
                                                                                        <ItemStyle Width="5%" />
                                                                                    </asp:BoundField>
                                                                                    <asp:BoundField DataField="EquipmentE_ID" HeaderText="结束设备">
                                                                                        <ItemStyle Width="5%" />
                                                                                    </asp:BoundField>

                                                                                    <asp:BoundField DataField="Mat_Code" HeaderText="物料码">
                                                                                        <ItemStyle Width="10%" />
                                                                                    </asp:BoundField>
                                                                                    <asp:BoundField DataField="Mat_Name" HeaderText="物料名称">
                                                                                        <ItemStyle Width="15%" />
                                                                                    </asp:BoundField>
                                                                                    <asp:BoundField DataField="Mat_Num" HeaderText="执行数量">
                                                                                        <ItemStyle Width="4%" />
                                                                                    </asp:BoundField>

                                                                                    <asp:BoundField DataField="FinishResult" HeaderText="指令结果">
                                                                                        <ItemStyle Width="4%" />
                                                                                    </asp:BoundField>

                                                                                    <asp:BoundField DataField="FinishMethod" HeaderText="完成方式">
                                                                                        <ItemStyle Width="8%" />
                                                                                    </asp:BoundField>

                                                                                    <asp:BoundField DataField="FinishTime" HeaderText="完成时间">
                                                                                        <ItemStyle Width="10%" />
                                                                                    </asp:BoundField>
                                                                                </Columns>
                                                                                <HeaderStyle HorizontalAlign="Center" CssClass="gvHeader" />
                                                                                <RowStyle CssClass="gvRow" HorizontalAlign="Center" />
                                                                            </asp:GridView>
                                                                        </div>
                                                                    </td>
                                                                </tr>
                                                            </table>
                                                        </td>
                                                    </tr>
                                                </table>
                                            </td>
                                        </tr>
                                    </table>
                                </td>
                                <td style="background-image: url(../images/tab_15.gif); width: 8px;">&nbsp;
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
                <tr>
                    <td style="background-image: url(../images/tab_19.gif); height: 35px;">
                        <table width="100%" border="0" cellspacing="0" cellpadding="0">
                            <tr>
                                <td style="width: 12px; height: 35px;">
                                    <img src="../images/tab_18.gif" width="12" height="35" />
                                </td>
                                <td>&nbsp;
                                </td>
                                <td width="16">
                                    <img src="../images/tab_20.gif" width="16" height="35" />
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
            </table>
            <asp:HiddenField ID="hidden" runat="server" />
        </div>
    </form>
</body>
</html>
